//
//  ScopeCheckTableViewCell.m
//  JxCarios
//
//  Created by phev on 15/2/28.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "ScopeCheckTableViewCell.h"
#import "NSDictionary+GetData.h"

@implementation ScopeCheckTableViewCell

- (void)awakeFromNib {
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}
- (void)setInfo:(NSDictionary *)info{
    if (info) {
        _info = [info copy];
        _rmb.text = [_info customObjectForkey:@"RMB"];
        _scope.text = [[_info customObjectForkey:@"VB"] stringByAppendingString:@"分"];
    }
   
}
- (IBAction)scopeCheckAction:(id)sender {
    _checkBtn.selected = YES;
    NSDictionary *cellInfo = [NSDictionary dictionaryWithObjectsAndKeys:_info,@"info",self,@"cell",nil];
    if (_target && _action) {
        [_target performSelectorInBackground:_action withObject:cellInfo];
    }
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
   
}


@end
